package com.sdx.console.transaction.entity;

import com.ibeetl.admin.core.entity.BaseEntity;
import com.ibeetl.admin.core.util.ValidateConfig;
import org.beetl.sql.core.annotatoin.AssignID;

import javax.validation.constraints.NotNull;
import java.util.Date;


/*
*
* gen by Spring Boot2 Admin 2018-09-26
*/
public class FinTransactionRefund extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @AssignID

    private String refundId ;


    private String transactionId ;


    private Long remainMoney ;


    private Long refundApply ;


    private Long refundMoney ;

    //退款状态，1,申请中，2,审核驳回，3,审核通过，4,已退款，-4,退款时接口异常
    private Integer refundStatus ;

    private Date refundTime ;

    private Date applyTime ;


    private Integer operatorId ;


    private String operatorName ;


    private String refundReason ;


    private String errorMsg ;

    private Date handleTime;

    private String handleMemo;

    private String attachFile;

    private String orderNo;


    public FinTransactionRefund()
    {
    }

    public String getRefundId(){
	    return  refundId;
    }
    public void setRefundId(String refundId){
        this.refundId = refundId;
    }

    public String getTransactionId(){
	    return  transactionId;
    }
    public void setTransactionId(String transactionId){
        this.transactionId = transactionId;
    }

    public Long getRemainMoney(){
	    return  remainMoney;
    }
    public void setRemainMoney(Long remainMoney){
        this.remainMoney = remainMoney;
    }

    public Long getRefundApply(){
	    return  refundApply;
    }
    public void setRefundApply(Long refundApply){
        this.refundApply = refundApply;
    }

    public Long getRefundMoney(){
	    return  refundMoney;
    }
    public void setRefundMoney(Long refundMoney){
        this.refundMoney = refundMoney;
    }

    /**退款状态，0，申请中，1，退款成功
    *@return
    */
    public Integer getRefundStatus(){
	    return  refundStatus;
    }
    /**退款状态，0，申请中，1，退款成功
    *@param  refundStatus
    */
    public void setRefundStatus(Integer refundStatus){
        this.refundStatus = refundStatus;
    }

    public Date getRefundTime(){
	    return  refundTime;
    }
    public void setRefundTime(Date refundTime){
        this.refundTime = refundTime;
    }

    public Integer getOperatorId(){
	    return  operatorId;
    }
    public void setOperatorId(Integer operatorId){
        this.operatorId = operatorId;
    }

    public String getOperatorName(){
	    return  operatorName;
    }
    public void setOperatorName(String operatorName){
        this.operatorName = operatorName;
    }

    public String getRefundReason(){
	    return  refundReason;
    }
    public void setRefundReason(String refundReason){
        this.refundReason = refundReason;
    }

    public String getErrorMsg(){
	    return  errorMsg;
    }
    public void setErrorMsg(String errorMsg){
        this.errorMsg = errorMsg;
    }

    public Date getHandleTime() {
        return handleTime;
    }

    public void setHandleTime(Date handleTime) {
        this.handleTime = handleTime;
    }

    public String getHandleMemo() {
        return handleMemo;
    }

    public void setHandleMemo(String handleMemo) {
        this.handleMemo = handleMemo;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public String getAttachFile() {
        return attachFile;
    }

    public void setAttachFile(String attachFile) {
        this.attachFile = attachFile;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
}
